var app = getApp(),
  common = require("../../common/common.js")

Page({
  data: {

  },

  onLoad: function (w) {
    // identity   身份 0 游客 1 学生 2 老师
    let identity = w.identity
    let _t = this
    // 学生查看作业
    app.util.request({
      url: 'entry/wxapp/studentsCheckWork',
      data: {},
      success: function (a) {
        console.log(a.data.data)
        _t.setData({
          list: a.data.data
        })
      }
    })
  },
  onReady: function () {

  },
  onShow: function () {

  },
  onHide: function () {

  },
  onUnload: function () {

  },
  onPullDownRefresh: function () {

  },
  onReachBottom: function () {

  },
  onShareAppMessage: function () {

  }
})